//
//  UIScrollView+HTRefresh.h

//  Copyright (c) 2015年 Risenb App Department With iOS. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MJRefresh.h"

@interface UITableView(LDTableView)
- (void)setNotEstimatedRowHeight;
@end
@interface UIScrollView (HTRefresh)

- (void)addLegendHeaderWithRefreshingBlock:(void (^)(void))block;
- (void)addLegendFooterWithRefreshingBlock:(void (^)(void))block;

- (void)addAutoFooterWithRefreshingBlock:(void (^)(void))block;

- (void)pullDownBlock:(void (^)(void))block;

- (void)pullUpBlock:(void (^)(void))block;


- (void)startPullDown;
- (void)startPullUp;

- (void)endPullDown;
- (void)endPullUp;

//上拉加载隐藏提示语
-(void)footerHideHint;

-(void)liveLoadFinishHint;

- (void)nomoreData;
- (void)hideFooter;
- (void)showFooter;
- (BOOL)isRefresh;

- (void)isShowFooter:(NSArray *)data count:(NSInteger)count;

- (void)isShowFooter:(NSArray *)data;
- (void)isShowFooterNoMore:(NSArray *)data ;

- (void)addLegendHeaderWithNoArrowChangeViewBlock:(void (^)(void))block;

- (void)addLegendFooterChangeViewBlock:(void (^)(void))block;
- (void)addLegendFooterTitleStr:(NSString *)str ChangeViewBlock:(void (^)(void))block;
- (void)addVideoHeadWithBlock:(void (^)(void))block;
@end

@interface LDTableView:UITableView

@end
